fix(roo): update default model to anthropic/claude-sonnet-4.5#11145
Draft
roomote[bot] wants to merge 1 commit intomainfrom
Draft
fix(roo): update default model to anthropic/claude-sonnet-4.5#11145roomote[bot] wants to merge 1 commit intomainfrom
roomote[bot] wants to merge 1 commit intomainfrom
Conversation
The previous default model xai/grok-code-fast-1 is no longer available from the Roo Code Cloud /v1/models endpoint. Updated to anthropic/claude-sonnet-4.5 which is an active, non-deprecated model available through the Vercel provider. Fixes EXT-717
Contributor
Author
Review complete. No issues found. The changes correctly update the default model ID from the deprecated Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
mrubens
reviewed
Feb 3, 2026
| contextWindow: 262_144, | ||
| supportsImages: false, | ||
| supportsReasoningEffort: true, // Enable reasoning for tests | ||
| "anthropic/claude-sonnet-4.5": { |
Collaborator
There was a problem hiding this comment.
I think opus might be a better choice? Could end up being cheaper than sonnet if you use the full 1M token context window that we normally provide in the Roo Code Router.
mrubens
reviewed
Feb 3, 2026
| outputPrice: 0, | ||
| inputPrice: 3, | ||
| outputPrice: 15, | ||
| }, |
Collaborator
There was a problem hiding this comment.
I think we want to add the cache price too
mrubens
reviewed
Feb 3, 2026
| owned_by: "anthropic", | ||
| name: "Claude Sonnet 4.5", | ||
| description: "Fast coding model", | ||
| context_window: 262144, |
Collaborator
There was a problem hiding this comment.
I guess doesn't matter for a test, but these stats don't match
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Closes: EXT-717 (Linear)
Roo Code Task Context (Optional)
https://app.roocode.com/cloud-jobs/BG8ilA3W?utm_source=github-comment&utm_medium=link&utm_campaign=linear.agent.session
Description
The VS Code extension currently defaults the Roo Code router ("roo" provider) to
xai/grok-code-fast-1, but this model is no longer available from the Roo Code Cloud/v1/modelsendpoint (it has been marked as deprecated with a deprecation message).This PR updates the default model to
anthropic/claude-sonnet-4.5, which is an active, non-deprecated model available through the Vercel provider in Roo Code Cloud.Changes:
rooDefaultModelIdinpackages/types/src/providers/roo.tsfromxai/grok-code-fast-1toanthropic/claude-sonnet-4.5Test Procedure
cd src && npx vitest run api/providers/__tests__/roo.spec.ts- all 40 tests passcd src && npx vitest run api/providers/fetchers/__tests__/roo.spec.ts- all 29 tests passpnpm run lintpnpm run check-typesPre-Submission Checklist
Screenshots / Videos
N/A - no UI changes
Documentation Updates
Additional Notes
The deprecated model
xai/grok-code-fast-1is still supported through OpenRouter as a deprecated model, so users who have explicitly configured it will continue to work with a deprecation warning. This change only affects the default when no model is specified.View task on Roo Code Cloud
Important
Update default model for Roo Code router to
anthropic/claude-sonnet-4.5and adjust tests accordingly.rooDefaultModelIdinroo.tsfromxai/grok-code-fast-1toanthropic/claude-sonnet-4.5.roo.spec.tsandfetchers/roo.spec.tsto useanthropic/claude-sonnet-4.5.This description was created by
for 9ec2738. You can customize this summary. It will automatically update as commits are pushed.